package com.dhl.prototypepattern.serialize;

import java.io.Serializable;

/**
 * @title: Deep
 * @Author danghailiang
 * @Date: 2022/7/28 21:53
 * @Version 1.0
 */
public class SerializeYang implements Serializable {
    /**
     * 序列化id
     */
    private static final long serialVersionUID = 42L;

    private Long id;
    private String name;

    public SerializeYang() {
    }

    public SerializeYang(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
